Returns a new data row that can be populated and added to a recordset.
Note: A primary key must be defined in the table if you want to add or update rows. If a primary key is not defined, QA Wizard Pro opens the table as read-only.
Syntax
CreateRecordsetRow(Recordset)
Arguments
Argument | Description |
---|---|
Recordset | Recordset name to add the row to. Must be opened with OpenRecordset or OpenRecordsetQuery. |
Return value
Value | Description |
---|---|
Value | Empty data row. |
Example
bugs = OpenRecordset("WysiCorp Bugs")
row = CreateRecordsetRow(bugs)
SetRowValue(row, "Summary", "Performance is slow")
SetRowValue(row, "Severity", "No Workaround")
CommitRecordsetRow(row)